package org.zhaozhen.quartz.service;

import org.zhaozhen.quartz.util.QuartzJobInfo;

public interface IQuartzService {
    /**
     * 添加定时任务
     * @param jobInfo 必要参数
     */
    void addJob(QuartzJobInfo jobInfo);

    /**
     * 删除定时器
     * @param jobName
     */
    void removeJob(String jobName);

}
